package com.hnguigu.health.houduan.zw.controller_zw;

import com.hnguigu.health.houduan.zw.service_zw.zwimple;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("tim")
@CrossOrigin
public class zw {
    @Autowired(required = false)
    zwimple s;
    @PostMapping
    public void km(@RequestBody Map<String,String> qq){
//        Integer id = Integer.valueOf(qq.get("id"));
//        List<TQuestionBank> tPhysicalTables = s.selectAllTQuestion(id);
//        System.out.println(tPhysicalTables);
//        return  tPhysicalTables;
        String list = qq.get("list");
        String dj = qq.get("dj");
        System.out.println(list+"q"+dj);
    }
}
